package com.yidu.t299.domain.xp;

import java.io.Serializable;

/**
 * 采用Mybatis逆向生成自动生成
 *  -- 许盼
 */
public class StudentManage implements Serializable {
    /*
    有一些字段不需要显示出来 所以为空时等于0 前端传过来调用方法赋值
    就不会出现xx字段不能为空的bug
     */
    private Integer studentId = 0;
    private String studentName = "";
    private Integer studentAge = 0;
    private String studentSex = "";
    private String studentStat = "";
    private String studentAddress = "";
    private String studentQq = "";
    private String studentPhone = "";
    private String studentDate = "";
    private Integer classId = 1;
    private Integer schoolId = 1;
    private Integer recordId = 1;

    //相关联表属性
    private String schoolName;
    private String ClassName;
    private String recordName;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Integer getStudentAge() {
        return studentAge;
    }

    public void setStudentAge(Integer studentAge) {
        this.studentAge = studentAge;
    }

    public String getStudentSex() {
        return studentSex;
    }

    public void setStudentSex(String studentSex) {
        this.studentSex = studentSex;
    }

    public String getStudentStat() {
        return studentStat;
    }

    public void setStudentStat(String studentStat) {
        this.studentStat = studentStat;
    }

    public String getStudentAddress() {
        return studentAddress;
    }

    public void setStudentAddress(String studentAddress) {
        this.studentAddress = studentAddress;
    }

    public String getStudentQq() {
        return studentQq;
    }

    public void setStudentQq(String studentQq) {
        this.studentQq = studentQq;
    }

    public String getStudentPhone() {
        return studentPhone;
    }

    public void setStudentPhone(String studentPhone) {
        this.studentPhone = studentPhone;
    }

    public String getStudentDate() {
        return studentDate;
    }

    public void setStudentDate(String studentDate) {
        this.studentDate = studentDate;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getClassName() {
        return ClassName;
    }

    public void setClassName(String className) {
        ClassName = className;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    @Override
    public String toString() {
        return "StudentManage{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", studentAge=" + studentAge +
                ", studentSex='" + studentSex + '\'' +
                ", studentStat='" + studentStat + '\'' +
                ", studentAddress='" + studentAddress + '\'' +
                ", studentQq='" + studentQq + '\'' +
                ", studentPhone='" + studentPhone + '\'' +
                ", studentDate='" + studentDate + '\'' +
                ", classId=" + classId +
                ", schoolId=" + schoolId +
                ", recordId=" + recordId +
                ", schoolName='" + schoolName + '\'' +
                ", ClassName='" + ClassName + '\'' +
                ", recordName='" + recordName + '\'' +
                '}';
    }
}